﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CalemShop
{
    public class Customer
    {
        public string customerName = string.Empty;

        public string serial = string.Empty;

        public string facebook = string.Empty;

        public string phone = string.Empty;

        public string email = string.Empty;

        public int point = 0;

        public int totalPaid = 0;

        public string createTime = string.Empty;

        public int customerId = 0;

        public Customer(int cusId, string cusSerial, string cusName, string cusPhone)
        {
            this.customerId = cusId;
            this.serial = cusSerial;
            this.customerName = cusName;
            this.phone = cusPhone;
        }

        public Customer()
        {
        }

        public override string ToString()
        {
            return customerName + "(" + phone + ")";
        }
    }
}
